
<!--<div data-ng-include="'view/include/header2.html'" data-ng-controller="HeaderController">-->
<!--</div>-->

<div ng-if="userType == 2 || userType==3"></div>
<div ng-if='userType!=2 && userType!=3' class="indexbgcolor clear">
<div class='index-rightbar clear'>
    <div class="caption">
        <h2 class="fl">项目统计</h2>
        <h2 class="fr" style="text-align: right;padding-right: 50px;">月报导出
            <button style='right:6px;top:5px;' class="btn btn-default pos-right" ng-click="download()">
                <i class="fa fa-download" ></i>
            </button>
        </h2>
    </div>
    <ul class="clear">
        <li><a ui-sref="invest.invest_list"><div class="lightblue" style="background: #56baca;">
            <div class="totalBlock1">
                <div class="details">
                    <div class="number">
                        <span class="yestoday">昨日</span>
                        <span class="today" titile="{{ctrlScope.count.investAmountYesterday}}">{{ctrlScope.count.investAmountYesterday}}</span>
                    </div>
                    <div class="number">
                        <span class="yestoday">今日</span>
                        <span class="today">{{ctrlScope.count.investAmountToday}}</span>
                    </div>
                    <div class="desc">
                        今日成交量（元）
                    </div>
                </div>
            </div>
        </div></a></li>
        <li><a ui-sref="account.account_recharge"><div class="lightblue" style="background: #56baca;">
            <div class="totalBlock2">
                <div class="details">
                    <div class="number">
                        <span class="yestoday">昨日</span>
                        <span class="today">{{ctrlScope.count.yestodayRechargeAmount}}</span>

                    </div>
                    <div class="number">

                        <span class="yestoday">今日</span>
                        <span class="today">{{ctrlScope.count.todayRechargeAmount}}</span>
                    </div>

                    <div class="desc">
                        总充值金额（元）
                    </div>
                </div>
            </div>

        </div></a></li>

        <li><a ui-sref="account.account_cash"><div class="lightblue" style="background: #56baca;">
            <div class="totalBlock3">
                <div class="details">
                    <div class="number">
                        <span class="yestoday">昨日</span>
                        <span class="today">{{ctrlScope.count.yesterdayCashAmount}}</span>

                    </div>
                    <div class="number">

                        <span class="yestoday">今日</span>
                        <span class="today">{{ctrlScope.count.todayCashAmount}}</span>
                    </div>


                    <div class="desc">
                        总提现金额（元）
                    </div>
                </div>
            </div>

        </div></a></li>

        <li><div class="lightblue" style="background: #70c1b3;">
            <div class="totalBlock4">
                <div class="details">
                    <div class="number2">
                        {{ctrlScope.count.loginNum}}
                    </div>
                    <div class="desc">
                        今日登录人数（人）
                    </div>
                </div>
            </div>
        </div></li>
        <li><a ui-sref="user.user_list"><div class="lightblue" style="background: #70c1b3;">
            <div class="totalBlock5">
                <div class="details">
                    <div class="number">
                        <span class="yestoday">昨日</span>
                        <span class="today">{{ctrlScope.count.yesterdayNum}}</span>

                    </div>
                    <div class="number">

                        <span class="yestoday">今日</span>
                        <span class="today">{{ctrlScope.count.todayNum}}</span>
                    </div>

                    <div class="desc">
                        注册数量（个）
                    </div>
                </div>
            </div>
        </div></a></li>

        <li><a ui-sref="user.user_list"><div class="lightblue" style="background: #70c1b3;">
            <div class="totalBlock6">
                <div class="details">
                    <div class="number">
                        <span class="yestoday">昨日</span>
                        <span class="today">{{ctrlScope.count.yesterdayInvestNum}}</span>

                    </div>
                    <div class="number">

                        <span class="yestoday">今日</span>
                        <span class="today">{{ctrlScope.count.todayInvestNum}}</span>
                    </div>

                    <div class="desc">
                       用户投资人次（次）
                    </div>
                </div>
            </div>
        </div></a></li>
        <li><a ui-sref="invest.invest_list"><div class="lightblue" style="background: #70c1b3;">
            <div class="totalBlock7">
                <div class="details">
                    <div class="number">
                        <span class="yestoday">昨日</span>
                        <span class="today">{{ctrlScope.count.yesterdayInvestPeopleNum}}</span>

                    </div>
                    <div class="number">

                        <span class="yestoday">今日</span>
                        <span class="today">{{ctrlScope.count.todayInvestPeopleNum}}</span>
                    </div>

                    <div class="desc">
                        用户投资人数（个）
                    </div>
                </div>
            </div>
        </div></a></li>




        <li><a ui-sref="project.repay_list"><div class="lightblue" style="background: #fcb95b;">
            <div class="totalBlock8">
                <div class="details">
                    <div class="number">
                        <span class="yestoday">今日</span>
                        <span class="today">{{ctrlScope.count.todayAmount2}}</span>

                    </div>
                    <div class="number">
                        <span class="yestoday">明日</span>
                        <span class="today">{{ctrlScope.count.tomorrowAmount2}}</span>
                    </div>

                    <div class="desc">
                        待还金额（元）
                    </div>
                </div>
            </div>
        </div></a></li>
        <!--<li><a ui-sref="invest.auto_list"><div class="lightblue" style="background: #fcb95b;">-->
            <!--<div class="totalBlock9">-->
                <!--<div class="details">-->
                    <!--<div class="number">-->
                        <!--<span class="yestoday">余额</span>-->
                        <!--<span class="today">{{ctrlScope.count.todayAmount}}</span>-->

                    <!--</div>-->
                    <!--<div class="number">-->
                        <!--<span class="yestoday">总额</span>-->
                        <!--<span class="today">{{ctrlScope.count.tomorrowAmount}}</span>-->
                    <!--</div>-->
                    <!--<div class="desc">-->
                        <!--锁定自动投标（元）-->
                    <!--</div>-->
                <!--</div>-->
            <!--</div>-->
        <!--</div></a></li>-->
        <li><a ui-sref="account.account_manage"><div class="lightblue" style="background: #fcb95b;">
            <div class="totalBlock10">
                <div class="details">
                    <div class="number2">
                        {{ctrlScope.count.usable}}
                    </div>
                    <div class="desc">
                        用户账户余额（元）
                    </div>
                </div>
            </div>

        </div></a></li>

    </ul>
</div>

<div class="index-leftbar clear">
    <div class="index-leftbar-top">
        <div class="portlet-title" style="background: #f9f9f9">
            <div class="caption">
                <h2>充值提现统计</h2>
            </div>
            <div class="tab-button">
                <label class="radio-inline">
                    <input type="radio" name="tab" value="1" ng-model="showChart.type" ng-click="showChart('day')">
                    当天 </label>
                <label class="radio-inline">
                    <input type="radio" name="tab" value="2"  ng-model="showChart.type" ng-click="showChart('week')">
                    本周 </label>
                <label class="radio-inline">
                    <input type="radio" name="tab" value="3"  ng-model="showChart.type" ng-click="showChart('month')">
                    本月 </label>
                <label class="radio-inline">
                    <input type="radio" name="tab" value="4"  ng-model="showChart.type" ng-click="showChart('year')">
                    本年 </label>
            </div>
        </div>
        <div class="portlet-body">
            <div id="users_statistics" >
                <highchart  class="chart" config="chartConfig" class="span9" ></highchart>
            </div>
        </div>
    </div>
    <div class="index-leftbar-top">
        <div class="portlet-title" style="background: #f9f9f9">
            <div class="caption">
                <h2>投资统计</h2>
            </div>
            <div class="tab-button">
                <label class="radio-inline">
                    <input type="radio" name="tab2" value="1"  ng-model="showDealChart.type" selected ng-click="showDealChart('day')">
                    当天 </label>
                <label class="radio-inline">
                    <input type="radio" name="tab2" value="2"  ng-model="showDealChart.type" ng-click="showDealChart('week')">
                    本周 </label>
                <label class="radio-inline">
                    <input type="radio" name="tab2" value="3" ng-model="showDealChart.type"  ng-click="showDealChart('month')">
                    本月 </label>
                <label class="radio-inline">
                    <input type="radio" name="tab2" value="4" ng-model="showDealChart.type"  ng-click="showDealChart('year')">
                    本年 </label>
            </div>
        </div>
        <div class="portlet-body">
            <div id="deal_statistics">
                <highchart class="chart" config="dealChartConfig" class="span9" ></highchart>
            </div>
        </div>
    </div>
</div>
</div>